<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::LINEMOD_OrientationMap结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::LINEMOD_OrientationMap结构体 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>Map that stores orientations.  
 <a href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="surface__normal__modality_8h_source.html">surface_normal_modality.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a700d870eb5a8eb8d92855a1963127094"><td class="memItemLeft" align="right" valign="top"><a id="a700d870eb5a8eb8d92855a1963127094"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a700d870eb5a8eb8d92855a1963127094">LINEMOD_OrientationMap</a> ()</td></tr>
<tr class="memdesc:a700d870eb5a8eb8d92855a1963127094"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:a700d870eb5a8eb8d92855a1963127094"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68103b3b1823c0a27a31b1fb5fb865c4"><td class="memItemLeft" align="right" valign="top"><a id="a68103b3b1823c0a27a31b1fb5fb865c4"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a68103b3b1823c0a27a31b1fb5fb865c4">~LINEMOD_OrientationMap</a> ()</td></tr>
<tr class="memdesc:a68103b3b1823c0a27a31b1fb5fb865c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a68103b3b1823c0a27a31b1fb5fb865c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a571ff35d370ffa81db4991b3201f63"><td class="memItemLeft" align="right" valign="top"><a id="a5a571ff35d370ffa81db4991b3201f63"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a5a571ff35d370ffa81db4991b3201f63">getWidth</a> () const</td></tr>
<tr class="memdesc:a5a571ff35d370ffa81db4991b3201f63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the width of the modality data map. <br /></td></tr>
<tr class="separator:a5a571ff35d370ffa81db4991b3201f63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a768bdbc948ce45be9ef1829fb241120a"><td class="memItemLeft" align="right" valign="top"><a id="a768bdbc948ce45be9ef1829fb241120a"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a768bdbc948ce45be9ef1829fb241120a">getHeight</a> () const</td></tr>
<tr class="memdesc:a768bdbc948ce45be9ef1829fb241120a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the height of the modality data map. <br /></td></tr>
<tr class="separator:a768bdbc948ce45be9ef1829fb241120a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a666d06b4a007cd001ba4292b2247b53a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a666d06b4a007cd001ba4292b2247b53a">resize</a> (const size_t width, const size_t height, const float value)</td></tr>
<tr class="memdesc:a666d06b4a007cd001ba4292b2247b53a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resizes the map to the specific width and height and initializes all new elements with the specified value.  <a href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a666d06b4a007cd001ba4292b2247b53a">更多...</a><br /></td></tr>
<tr class="separator:a666d06b4a007cd001ba4292b2247b53a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3db958dfa8dd3d23821eddddcc7c7ae5"><td class="memItemLeft" align="right" valign="top">float &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a3db958dfa8dd3d23821eddddcc7c7ae5">operator()</a> (const size_t col_index, const size_t row_index)</td></tr>
<tr class="memdesc:a3db958dfa8dd3d23821eddddcc7c7ae5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operator to access elements of the map.  <a href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a3db958dfa8dd3d23821eddddcc7c7ae5">更多...</a><br /></td></tr>
<tr class="separator:a3db958dfa8dd3d23821eddddcc7c7ae5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9cac85928e205c6a61206e965296d6d"><td class="memItemLeft" align="right" valign="top">const float &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#ac9cac85928e205c6a61206e965296d6d">operator()</a> (const size_t col_index, const size_t row_index) const</td></tr>
<tr class="memdesc:ac9cac85928e205c6a61206e965296d6d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operator to access elements of the map.  <a href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#ac9cac85928e205c6a61206e965296d6d">更多...</a><br /></td></tr>
<tr class="separator:ac9cac85928e205c6a61206e965296d6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a8a89ab8ad288eddab56d0faaf011fbfa"><td class="memItemLeft" align="right" valign="top"><a id="a8a89ab8ad288eddab56d0faaf011fbfa"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a8a89ab8ad288eddab56d0faaf011fbfa">width_</a></td></tr>
<tr class="memdesc:a8a89ab8ad288eddab56d0faaf011fbfa"><td class="mdescLeft">&#160;</td><td class="mdescRight">The width of the map. <br /></td></tr>
<tr class="separator:a8a89ab8ad288eddab56d0faaf011fbfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c6fc26c72b14155b8cf8a1938b12ee5"><td class="memItemLeft" align="right" valign="top"><a id="a5c6fc26c72b14155b8cf8a1938b12ee5"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a5c6fc26c72b14155b8cf8a1938b12ee5">height_</a></td></tr>
<tr class="memdesc:a5c6fc26c72b14155b8cf8a1938b12ee5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The height of the map. <br /></td></tr>
<tr class="separator:a5c6fc26c72b14155b8cf8a1938b12ee5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26fe4965b3772a6d05049231b27e5f20"><td class="memItemLeft" align="right" valign="top"><a id="a26fe4965b3772a6d05049231b27e5f20"></a>
std::vector&lt; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a26fe4965b3772a6d05049231b27e5f20">map_</a></td></tr>
<tr class="memdesc:a26fe4965b3772a6d05049231b27e5f20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Storage for the data of the map. <br /></td></tr>
<tr class="separator:a26fe4965b3772a6d05049231b27e5f20"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Map that stores orientations. </p>
<dl class="section author"><dt>作者</dt><dd>Stefan Holzer </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a3db958dfa8dd3d23821eddddcc7c7ae5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3db958dfa8dd3d23821eddddcc7c7ae5">&#9670;&nbsp;</a></span>operator()() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float&amp; pcl::LINEMOD_OrientationMap::operator() </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>col_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>row_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Operator to access elements of the map. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">col_index</td><td>the column index of the element to access. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">row_index</td><td>the row index of the element to access. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;      {</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a26fe4965b3772a6d05049231b27e5f20">map_</a>[row_index * <a class="code" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a8a89ab8ad288eddab56d0faaf011fbfa">width_</a> + col_index];</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;      }</div>
<div class="ttc" id="astructpcl_1_1_l_i_n_e_m_o_d___orientation_map_html_a26fe4965b3772a6d05049231b27e5f20"><div class="ttname"><a href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a26fe4965b3772a6d05049231b27e5f20">pcl::LINEMOD_OrientationMap::map_</a></div><div class="ttdeci">std::vector&lt; float &gt; map_</div><div class="ttdoc">Storage for the data of the map.</div><div class="ttdef"><b>Definition:</b> surface_normal_modality.h:118</div></div>
<div class="ttc" id="astructpcl_1_1_l_i_n_e_m_o_d___orientation_map_html_a8a89ab8ad288eddab56d0faaf011fbfa"><div class="ttname"><a href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a8a89ab8ad288eddab56d0faaf011fbfa">pcl::LINEMOD_OrientationMap::width_</a></div><div class="ttdeci">size_t width_</div><div class="ttdoc">The width of the map.</div><div class="ttdef"><b>Definition:</b> surface_normal_modality.h:114</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ac9cac85928e205c6a61206e965296d6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9cac85928e205c6a61206e965296d6d">&#9670;&nbsp;</a></span>operator()() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float&amp; pcl::LINEMOD_OrientationMap::operator() </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>col_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>row_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Operator to access elements of the map. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">col_index</td><td>the column index of the element to access. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">row_index</td><td>the row index of the element to access. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;      {</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a26fe4965b3772a6d05049231b27e5f20">map_</a>[row_index * <a class="code" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a8a89ab8ad288eddab56d0faaf011fbfa">width_</a> + col_index];</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;      }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a666d06b4a007cd001ba4292b2247b53a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a666d06b4a007cd001ba4292b2247b53a">&#9670;&nbsp;</a></span>resize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::LINEMOD_OrientationMap::resize </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Resizes the map to the specific width and height and initializes all new elements with the specified value. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">width</td><td>the width of the resized map. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">height</td><td>the height of the resized map. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>the value all new elements will be initialized with. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;      {</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <a class="code" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a8a89ab8ad288eddab56d0faaf011fbfa">width_</a> = width;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        <a class="code" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a5c6fc26c72b14155b8cf8a1938b12ee5">height_</a> = height;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        <a class="code" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a26fe4965b3772a6d05049231b27e5f20">map_</a>.clear ();</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        <a class="code" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a26fe4965b3772a6d05049231b27e5f20">map_</a>.resize (width*height, value);</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;      }</div>
<div class="ttc" id="astructpcl_1_1_l_i_n_e_m_o_d___orientation_map_html_a5c6fc26c72b14155b8cf8a1938b12ee5"><div class="ttname"><a href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html#a5c6fc26c72b14155b8cf8a1938b12ee5">pcl::LINEMOD_OrientationMap::height_</a></div><div class="ttdeci">size_t height_</div><div class="ttdoc">The height of the map.</div><div class="ttdef"><b>Definition:</b> surface_normal_modality.h:116</div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>recognition/include/pcl/recognition/<a class="el" href="surface__normal__modality_8h_source.html">surface_normal_modality.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><a class="el" href="structpcl_1_1_l_i_n_e_m_o_d___orientation_map.html">LINEMOD_OrientationMap</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
